Repository navigation
ci: capture pytest exit codes and build test-status.json per label - #913
Open
CagriYonca wants to merge 1 commit into
Open
CagriYonca wants to merge 1 commit into
CagriYonca wants to merge 1 commit into
Conversation
CagriYonca
force-pushed
the
currency-update
branch
7 times, most recently
from
October 8, 2026 09:04
68fc532 to
0a145f1
Compare
CagriYonca
force-pushed
the
currency-update
branch
from
October 8, 2026 11:26
0a145f1 to
4390282
Compare
CagriYonca
marked this pull request as ready for review
October 8, 2026 11:27
Signed-off-by: Cagri Yonca <cagri@ibm.com>
CagriYonca
force-pushed
the
currency-update
branch
from
October 8, 2026 11:42
4390282 to
f1eb948
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
Previously, when pytest encountered test failures in CI, the test jobs failed immediately before saving coverage,
pip freeze, and test metadata to the workspace. Consequently, downstream artifact collection jobs could not run or produce artifacts on failed runs, preventing the currency reporter pipeline from receiving updated dependency and test status data.How
run-tests-with-coverage-reportwithout exiting immediately, and addedfail-if-tests-failedas the final step across all test jobs (when: always) to ensure all workspace files and artifacts are persisted before failing.test-status.json: Updatedfinal_jobto aggregate all failed test modules across matrix jobs and build a package-leveltest-status.json(stored alongsideinstalled_*.txtin artifacts).: terminal): Updatedfinal_jobandupdate-currency-versionsworkflow requirements to use: terminalso that artifacts and reports are produced regardless of test job outcomes.Verification
pip freezeoutputs are preserved on both passing and failing runs.rupy-currency-reporterusing the generatedtest-status.jsonartifact format.